// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///E:/%E5%89%8D%E7%AB%AF/Vue/vue3/vue-rabbit/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/%E5%89%8D%E7%AB%AF/Vue/vue3/vue-rabbit/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///E:/%E5%89%8D%E7%AB%AF/Vue/vue3/vue-rabbit/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///E:/%E5%89%8D%E7%AB%AF/Vue/vue3/vue-rabbit/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///E:/%E5%89%8D%E7%AB%AF/Vue/vue3/vue-rabbit/node_modules/unplugin-vue-components/dist/resolvers.js";
var __vite_injected_original_import_meta_url = "file:///E:/%E5%89%8D%E7%AB%AF/Vue/vue3/vue-rabbit/vite.config.js";
var vite_config_default = defineConfig({
  // plugins是vite专门插件配置的位置
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [
        // 1.配置elementPlus采用sass样式配置系统
        ElementPlusResolver({ importStyle: "sass" })
      ]
    })
  ],
  resolve: {
    // 实际的路径转化 @ --> src 
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  css: {
    preprocessorOptions: {
      scss: {
        // 2.自动导入定制化样式文件进行样式覆盖
        additionalData: `
        @use "@/styles/element/index.scss" as *;
        @use "@/styles/var.scss" as *;
        `
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxcdTUyNERcdTdBRUZcXFxcVnVlXFxcXHZ1ZTNcXFxcdnVlLXJhYmJpdFwiO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